import request from '@/utils/request'

export default {
  getPageData(){
    return request({
      url: '/user_follows',
      method: 'get'
    })
  },
  addFollow(id){
    return request({
      url: `/user_follows/${id}`,
      method: 'get'
    })
  },
  cancelFollow(id){
    return request({
      url: `/user_unfollow/${id}`,
      method: 'get'
    })
  }
}
